package com.shop.service;

import com.shop.api.params.orderInfo;
import com.shop.entity.User;

import java.util.List;
import java.util.Map;

public interface OrderService {
    int createOrder(Long userId, Long seller_id, String address, List<orderInfo> info);

    Map searchOrder(Long orderId);

    List searchUserAllOrder(User loginUser);

    int changeStatus(Long orderId, int status);
}
